# 配置文件
APP_TITLE = "Image Labeler 一个可以遮罩、标注、画线的工具"
DEFAULT_TEXT = "示例文字"

# 支持的图片格式
SUPPORTED_IMAGE_FORMATS = [("Images", "*.png;*.jpg;*.jpeg;*.bmp")]

# 窗口默认大小
DEFAULT_WINDOW_SIZE = "1300x820"

# 默认标注设置
DEFAULT_FONT_SIZE = 24
DEFAULT_COLOR = "#000000"
DEFAULT_LINE_WIDTH = 2

# 线条类型
LINE_TYPE_STRAIGHT = "straight"  # 直线
LINE_TYPE_POLYLINE = "polyline"  # 折线

# 默认线条设置
DEFAULT_LINE_TYPE = LINE_TYPE_STRAIGHT
MIN_LINE_WIDTH = 1
MAX_LINE_WIDTH = 20

# 缩放限制
MIN_SCALE = 0.05
MAX_SCALE = 10.0
ZOOM_FACTOR = 1.1
